home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
UNIX95.ZIP
/
READ.ME
< prev
next >
Wrap
Text File
|
1994-02-01
|
3KB
|
84 lines
LITTLES -
This archive contains 3 little programs I wrote after I changed
my NT setup over from a grphical based on to a command line/text
setup. (Write me for information about this if you are curious)
The 3 programs contained here are compiled for the CONSOLE under
NT.
KILL.EXE - Usage KILL <process id>
- This will FORCEABLY terminate a program. This is
- the same result as if you had selected the program
- under TASK MANAGER and selected End Task.
- You may get the process ID from PS.EXE or thru
- PVIEW/PSTAT.
PS.EXE - Usage PS
- Shows which processes are running (non-kernel ones).
- The following information is given:
Handle (HWND)
Process ID (PID)
Priority (IDLE,NORM,HIGH,REAL)
IDLE - Process only executes if the
- CPU is idle OR it is the forground
- window
NORM - Has a "normal" priority
HIGH - Has a higher than normal priority
REAL - Has the HIGHEST priority (REAL-TIME)
User Time (UTIME)
This is the amount of time the process has
spent doing "user" things (reading keyboard,
outputting to screen, etc...)
Kernel Time (KTIME)
This is the amount of time the process has
spent inside the KERNEL (calling KERNEL
functions, etc ...)
Name (NAME)
The name of the process (if any)
NICE.EXE - Usage NICE <process id> <priority>
- Sets the priority of a process (see PS.EXE)
- <priority> is the actual string "NORM","IDLE", etc ..
Examples:
[d:\users\nicholas\distribute]ps
HWND PID PRIO UTime KTime NAME
3600c4 81 HIGH 00:00:06 00:00:04 cmd.exe - ps
2e00ce 97 NORM 00:00:04 00:00:02 WOW Exec
1c0120 92 NORM 00:00:10 00:00:03 Notepad - read.me
270068 89 HIGH 00:00:00 00:00:00 Task List
170062 97 NORM 00:00:04 00:00:02 wowexec
1b0064 132 HIGH 00:00:00 00:00:00 NetDDE Agent
[d:\users\nicholas\distribute]kill 97
[d:\users\nicholas\distribute]ps
HWND PID PRIO UTime KTime NAME
3600c4 81 HIGH 00:00:07 00:00:06 cmd.exe - ps
1c0120 92 NORM 00:00:13 00:00:03 Notepad - read.me
270068 89 HIGH 00:00:00 00:00:00 Task List
1b0064 132 HIGH 00:00:00 00:00:00 NetDDE Agent
[d:\users\nicholas\distribute]nice 81 IDLE
[d:\users\nicholas\distribute]ps
HWND PID PRIO UTime KTime NAME
3600c4 81 IDLE 00:00:08 00:00:06 cmd.exe - ps
1c0120 92 NORM 00:00:13 00:00:03 Notepad - read.me
270068 89 HIGH 00:00:00 00:00:00 Task List
1b0064 132 HIGH 00:00:00 00:00:00 NetDDE Agent
Note that both "WOW Exec" and "wowexec" were kill. This is because
they had the same PID number (I assume because the two processes
are obviously tied to either other).
-
Nicholas J. Leon (leonni@hamlet.uncg.edu)
Binary 9 Software Systems
[2.1.94]